<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="/static/css/style.css" rel="stylesheet" type="text/css" />
<link href="/static/css/select.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/static/js/jquery.js"></script>
<script type="text/javascript" src="/static/js/jquery.idTabs.min.js"></script>
<script type="text/javascript" src="/static/js/select-ui.min.js"></script>
<script type="text/javascript" src="/static/editor/kindeditor.js"></script>

<script type="text/javascript">
    KE.show({
        id : 'content7',
        cssPath : './index.css'
    });
  </script>
  
<script type="text/javascript">
$(document).ready(function(e) {
    $(".select1").uedSelect({
		width : 345			  
	});
	$(".select2").uedSelect({
		width : 167  
	});
	$(".select3").uedSelect({
		width : 100
	});
});
</script>
</head>

<body>

	<div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li><a href="#">首页</a></li>
    <li><a href="#">系统设置</a></li>
    </ul>
    </div>
    
    <div class="formbody">
    
    
    <div id="usual1" class="usual"> 
    
    <div class="itab">
  	<ul> 
    <li><a href="#tab1" class="selected">发布通知</a></li> 
    <li><a href="{:url('zhu/right')}">自定义</a></li> 
  	</ul>
    </div> 
    
  	<div id="tab1" class="tabson">
    
    <div class="formtext">Hi，<b>admin</b>，欢迎您试用信息发布功能！</div>
    
    <ul class="forminfo">
    <form action="{:url('zhu/tabs')}" method="post">
    <li><label>招聘企业<b>*</b></label><input name="name" type="text" class="dfinput" placeholder="请输入单位名称"  style="width:518px;"/></li>
   
    <li><label>职位名称<b>*</b></label>  
    

    <div class="vocation">
    <select class="select1" name="type_id">
        {volist name="type" id="v"}
          <option value="{$v.type_id}">{$v.type_name}</option>
        {/volist}
    </select>
    </div>
      
    </li>
    
    <li><label>薪资待遇<b>*</b></label>
    
  <div class="vocation">
    <select class="select1" name="money_id">
        {volist name="money" id="v"}
          <option value="{$v.money_id}">{$v.money_price}</option>
        {/volist}
    </select>
    </div>
    </li>
    <li><label>工作地点<b>*</b></label>
    
    <div class="usercity">
    
    <div class="cityleft">

    <select class="select2 city1" name="action_id[]">
    <option value="">==== 请选择 ====</option>
      {volist name="res" id="v"}
          {if $v.pid==0}
          <option value="{$v.action_id}">{$v.action_name}</option>
          {/if}
        {/volist}
    </select>
    </div>
    
    <div class="cityright">
    <select class="select2 city" name="action_id[]">
    <option value="">==== 请选择 ====</option>
       {volist name="res" id="v"}
          {if $v.pid!=0}
          <option value="{$v.action_id}">{$v.action_name}</option>
          {/if}
        {/volist}
    </select>
    </div>
    
    </div>
    
    
    
    </li>
    <li><label>通知内容<b>*</b></label>
    

    <textarea id="content7" name="goods" style="width:700px;height:250px;visibility:hidden;"></textarea>
    
    </li>
    <li><label>&nbsp;</label><input name="" type="submit" class="btn" value="马上发布"/></li>
    </form>
    </ul>
    
    </div> 
    
    
  	<div id="tab2" class="tabson">
    
    
    <ul class="seachform">
    
    <li><label>综合查询</label><input name="" type="text" class="scinput" /></li>
    <li><label>指派</label>  
    <div class="vocation">
    <select class="select3">
    <option>全部</option>
    <option>其他</option>
    </select>
    </div>
    </li>
    
    <li><label>重点客户</label>  
    <div class="vocation">
    <select class="select3">
    <option>全部</option>
    <option>其他</option>
    </select>
    </div>
    </li>
    
    <li><label>客户状态</label>  
    <div class="vocation">
    <select class="select3">
    <option>全部</option>
    <option>其他</option>
    </select>
    </div>
    </li>
    
    <li><label>&nbsp;</label><input name="" type="button" class="scbtn" value="查询"/></li>
    
    </ul>
    
    
    <table class="tablelist">
    	
    </table>
    
   
  
    
    </div>  
       
	</div> 
 
	<script type="text/javascript"> 
      $("#usual1 ul").idTabs(); 
    </script>
    
    <script type="text/javascript">
	$('.tablelist tbody tr:odd').addClass('odd');
	</script>
    
    
    <script>
        $(".city1").change(function(){
            var val = $(this).val();
            // alert(val)
            $.get("{:url('zhu/geterji')}?id="+val,function(res){
                var res = JSON.parse(res);
                // console.log(res)
                var html = '<option value="">==== 请选择 ====</option>';
                $.each(res,function(i,v){
                    html += '<option value="'+ v.action_id+'">'+v.action_name+'</option>';
                });
                $('.city').html(html);
            });
        });
    </script>
    
    
    </div>

</body>
</html>
